<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>添加地区</title>
	<hdjs/>
	<bootstrap/>
	<css file="__PUBLIC__/Css/public.css"/>
</head>
<body>
	
	<form action="" method="post"  class='hd-form'>
	<div class="wrap">
	<div class="menu_list">
		<ul>
			<li><a href="{|U:'City/index'}"  > 地区列表 </a></li>
			<li><a href="javascript:;" class="action"> 添加地区 </a></li>
			<li><a href="{|U:'City/update_cache'}"> 更地区缓存 </a></li>
		</ul>
	</div>
	<table class='table table-striped table-bordered '>
		<tbody>
			<tr>
				<td class="w100">上级地区</td>
				<td>
					<select name="pid" >
						<option value="0">一级地区</option>
						<foreach from='$city' value='$v'>
							<option value="{$v.lid}" <if value="isset($_GET['pid']) && $_GET['pid'] eq $v['lid']">selected='selected'</if>>{$v._name}</option>
						</foreach>
					</select>
				</td>
			</tr>
			<tr>
				<td class="w100">地区名称</td>
				<td>
					<input type="text" name="lname"  class='w200'/>
				</td>
			</tr>

			
			<tr>
				<td>地区排序</td>
				<td>
					<input name="sort" type="text" class='w200' value='100'/>
				</td>
			</tr>
			<tr>
				<td>是否显示</td>
				<td>
					<label>
						<input checked="checked"  type="radio" name="display" value="1"/>	
						<span>显示</span>
					</label>
					<label>
						<input type="radio" name="display" value="0"/>	
						<span>隐藏</span>
					</label>
				</td>
			</tr>
		</tbody>
	</table>
	</div>
	<div class='position-bottom'>
		<input type="submit" class='hd-success' value="添加" />
		
	</div>
	</form>
</body>
</html>